package com.log.feign;

import com.log.model.feign.LogInfoDTO;
import com.log.util.JsonData;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

/**
 * @Description TODO
 * @Author zhaoYi
 * @Date 2024/7/14 22:37
 */

@FeignClient(name = "sync-service")
public interface SyncFeignService {

    @PostMapping("/log/sync/insert")
    JsonData syncAndInsertLog(List<LogInfoDTO> logInfoDTOList);
}
